package org.linlinjava.litemall.db.common;

import org.linlinjava.litemall.db.service.LitemallPointsRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

/**
 * 这个类是用来避免相互调用的产生循环依赖的
 * @author liuchaoming
 */
@Component
public class Indirect {

    @Autowired
    @Lazy
    private LitemallPointsRecordService pointsRecordService;

    public LitemallPointsRecordService getPointsRecordService() {
        return pointsRecordService;
    }
}
